import Vue from 'vue';
import Vuex from 'vuex';
import login from './module/login';
import home from "./module/home"
import Power from "./module/user"


Vue.use(Vuex) // 使用vuex组件

//创建仓库

const store= new Vuex.Store({
    modules: {
        login,
        home,
        Power
    },
    state: {
        userName: '阿红',
    },
    mutations: {
        
    },
})


export default store;

